<%--
  Created by IntelliJ IDEA.
  User: MikeW
  Date: 2020/10/6
  Time: 22:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改数据</title>
    <link rel="stylesheet" type="text/css" href="css/admin.css">
</head>
<body>
<h2>修改数据（前两项无法修改！）</h2>
<!--action的路径需要添加"/_war_exploded"，否则会出现404报错。-->
<!--<form action="/_war_exploded/getResource" method="post">
    Season: <input type="text" name="season" value="${resource.season}" /><br/>
    Episode:<input type="text" name="episode" value="${resource.episode}" /><br/>
    完成截图URL:<input type="text" name="endImageURL" value="${resource.endImageURL}" /><br/>
    完整视频URL:<input type="text" name="videoURL" value="${resource.videoURL}"/><br/>
    <input type="hidden" name="method" value="update"/>
    <input type="submit" value="提交修改"/>
</form>-->
<form action="getResource" method="post" align="center">
    <input type="text" name="season" required  value="${resource.season}" id="textareaURL-style" placeholder="(该项目不能修改)" readonly/><br/><br/>
    <input type="text" name="episode" required value="${resource.episode}" id="textareaURL-style"placeholder="(该项目不能修改)" readonly/><br/><br/>
    <input type="text" name="endImageURL" value="${resource.endImageURL}" required id="textareaURL-style" placeholder="请输入截图的URL地址"/><br/><br/>
    <input type="text" name="videoURL" value="${resource.videoURL}" required id="textareaURL-style" placeholder="请输入原视频的URL地址"/><br/><br/>
    <input type="hidden" name="method" value="update"/>
    <input type="submit" value="提交" id="menubutton-style"/>
</form>
</body>
</html>
